package com.qixin.api.bean;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 充电设备接口信息
 * </p>
 *
 * @author 张子艺
 * @since 2018-10-21
 */
@TableName("com_connectorinfo")
public class ComConnectorinfo extends Model<ComConnectorinfo> {

    private static final long serialVersionUID = 1L;

	private Long id;
    /**
     * 充电设备接口编码
     */
	@TableField(value = "ConnectorID")
	private String ConnectorID;
    /**
     * 充电设备接口名称
     */
	@TableField(value = "ConnectorName")
	private String ConnectorName;
    /**
     * 1：家用插座（模式2）
2：交流接口插座（模式3，连接方式B ）
3：交流接口插头（带枪线，模式3，连接方式C）
4：直流接口枪头（带枪线，模式4）

     */
	@TableField(value = "ConnectorType")
	private Integer ConnectorType;
    /**
     * 额定电压上限 单位：V
     */
	@TableField(value = "VoltageUpperLimits")
	private Integer VoltageUpperLimits;
    /**
     * 额定电压下限
     */
	@TableField(value = "VoltageLowerLimits")
	private Integer VoltageLowerLimits;
    /**
     * 额定电流 单位A
     */
	@TableField(value = "Current")
	private Integer Current;
    /**
     * 额定功率 KW
     */
	@TableField(value = "Power")
	private BigDecimal Power;
    /**
     * 车位号
     */
	@TableField(value = "ParkNo")
	private String ParkNo;
    /**
     * 国家标准
     */
	@TableField(value = "NationalStandard")
	private Integer NationalStandard;

	/**
	 * 关联ID
	 */
	@TableField(value = "relaction_id")
	private Long relactionId;

	public Long getRelactionId() {
		return relactionId;
	}

	public void setRelactionId(Long relactionId) {
		this.relactionId = relactionId;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getConnectorID() {
		return ConnectorID;
	}

	public void setConnectorID(String ConnectorID) {
		this.ConnectorID = ConnectorID;
	}

	public String getConnectorName() {
		return ConnectorName;
	}

	public void setConnectorName(String ConnectorName) {
		this.ConnectorName = ConnectorName;
	}

	public Integer getConnectorType() {
		return ConnectorType;
	}

	public void setConnectorType(Integer ConnectorType) {
		this.ConnectorType = ConnectorType;
	}

	public Integer getVoltageUpperLimits() {
		return VoltageUpperLimits;
	}

	public void setVoltageUpperLimits(Integer VoltageUpperLimits) {
		this.VoltageUpperLimits = VoltageUpperLimits;
	}

	public Integer getVoltageLowerLimits() {
		return VoltageLowerLimits;
	}

	public void setVoltageLowerLimits(Integer VoltageLowerLimits) {
		this.VoltageLowerLimits = VoltageLowerLimits;
	}

	public Integer getCurrent() {
		return Current;
	}

	public void setCurrent(Integer Current) {
		this.Current = Current;
	}

	public BigDecimal getPower() {
		return Power;
	}

	public void setPower(BigDecimal Power) {
		this.Power = Power;
	}

	public String getParkNo() {
		return ParkNo;
	}

	public void setParkNo(String ParkNo) {
		this.ParkNo = ParkNo;
	}

	public Integer getNationalStandard() {
		return NationalStandard;
	}

	public void setNationalStandard(Integer NationalStandard) {
		this.NationalStandard = NationalStandard;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "ComConnectorinfo{" +
			"id=" + id +
			", ConnectorID=" + ConnectorID +
			", ConnectorName=" + ConnectorName +
			", ConnectorType=" + ConnectorType +
			", VoltageUpperLimits=" + VoltageUpperLimits +
			", VoltageLowerLimits=" + VoltageLowerLimits +
			", Current=" + Current +
			", Power=" + Power +
			", ParkNo=" + ParkNo +
			", NationalStandard=" + NationalStandard +
			"}";
	}
}
